package sige

class FoneFieldTagLib {
    def foneField = {attrs, body ->
		def field = g.field([name:attrs?.name, value: attrs?.value, type:'text', pattern:'[0-9]{2}-[0-9]{8}', placeholder:'11-00001111'], body)
		out << field   
	}
}
